<?php
    global $site_info;
    
?>

<div class="main" style="margin-top: 30px;">
<?php
if(!$site_info['register'])
        echo '<h1 align=center class=title>Cannot register at now...</h1>';
    else{?>
<?php echo $this->session->flashdata('_message'); ?>

<?php echo form_open('index/account/do_register',array('id'=>'login_box')) ?>
<div class="" id="myModal" >
  <div class="cat-title modal-header">
    <h2 style="text-transform: capitalize;"><?php echo $this->lang->line('register_title') ?></h2>
  </div>
  <table width="100%">
    <tr>
        <td width="50%">Nội dung tuyển ctv</td>
        <td width="50%" style="text-align: right;">
            <table width="100%">
    <tr>
        <td width="30%">
        <label for="username"><?php echo $this->lang->line('username') ?>(<span style="color: red;">*</span>)</label>
        </td>
        <td><input type="text" name="username" id="username" /></td>
    </tr>
    <tr>
        <td><label for="password"><?php echo $this->lang->line('password') ?>(<span style="color: red;">*</span>)</label></td>
        <td><input type="password" name="password" id="password" /></td>
    </tr>
    <tr>
        <td><label for="passconf"><?php echo $this->lang->line('cfpassword') ?>(<span style="color: red;">*</span>)</label></td>
        <td><input type="password" name="passconf" id="passconf" /></td>
    </tr>
    <tr>
        <td><label for="email"><?php echo $this->lang->line('email_address') ?>(<span style="color: red;">*</span>)</label></td>
        <td><input type="text" name="email" id="email" /></td>
    </tr>
    <tr>
        <td><label for="name"><?php echo $this->lang->line('fullname') ?>(<span style="color: red;">*</span>)</label></td>
        <td><input type="text" name="name" id="name" /></td>
    </tr>
    
    <tr>
        <td><label for="birthdate"><?php echo $this->lang->line('birthdate') ?></label></td>
        <td><input type="text" name="birthdate" id="birthdate" /></td>
    </tr>
    <tr>
        <td><label for="gender"><?php echo $this->lang->line('gender') ?></label></td>
        <td><select name="gender">
        <option value="0" ><?php echo $this->lang->line('male') ?></option>
        <option value="1" ><?php echo $this->lang->line('female') ?></option>
    </select></td>
    </tr>
    <tr>
        <td><label for="address"><?php echo $this->lang->line('address') ?></label></td>
        <td><input type="text" name="address" id="address" /></td>
    </tr>
    <tr>
        <td><label for="country"><?php echo $this->lang->line('country') ?></label></td>
        <td><input type="text" name="country" id="country" /></td>
    </tr>
    <tr>
        <td><label for="favorite"><?php echo $this->lang->line('favorite') ?></label></td>
        <td><input type="text" name="favorite" id="favorite"  /></td>
    </tr>
    <tr>
        <td> <label for="job"><?php echo $this->lang->line('job') ?></label></td>
        <td><input type="text" name="job" id="job"  /></td>
    </tr>
    <tr>
        <td><label for="company"><?php echo $this->lang->line('company') ?></label></td>
        <td><input type="text" name="company" id="company" /></td>
    </tr>
    <tr>
        <td><label for="website"><?php echo $this->lang->line('website') ?></label></td>
        <td><input type="text" name="website" id="website"  /></td>
    </tr>
    <!--<tr>
        <td style="vertical-align: top;"><label for="more"><?php echo $this->lang->line('more') ?></label></td>
        <td> <textarea name="more" id="more" style="width: 400px; height: 100px;" class="ckeditor" class="large"></textarea></td>
    </tr>-->
    <tr>
    <td></td>
        <td>
             <input type="submit" class="login_button"  value="<?php echo $this->lang->line('register') ?>"/>
        </td>
    </tr>
  </table>
        </td>
    </tr>
  </table>
  
  </div>
</form><?php } ?>
    </div>
<div class="clear"></div>
<!--End Contaier--> 